<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base target="_self" />
<title>添加站内消息</title>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/jqGrid/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript"
	src="<%=path %>/jslib/lhgdialog/lhgcore.lhgdialog.min.js?skin=mac"></script>
<script type="text/javascript">
	 function showMessage(ids){
			$.dialog({
		        title: '消息查看',
		        content: 'url:'+ 'sysmessage!viewMessage.action?id='+ids+'&temp='+Math.round(Math.random()*10000),
		        okVal: false,//确定按钮文字
		        cancelVal: false,//取消按钮文字
		        min: true, //是否显示最小化按钮
		        max: false,//是否显示最大化按钮
		        fixed: false,//开启静止定位
		        lock: true,//开启锁屏
		        focus: true,//弹出窗口后是否自动获取焦点（4.2.0新增）
		        time: null,//设置对话框显示时间
		        resize: true,//是否允许用户调节尺寸
		        drag: true,//是否允许用户拖动位置
		        cache: false,//是否缓存iframe方式加载的窗口内容页
		        width: '870px',
		        height: 490
			});
				var actionUrl = "sysmessage!updateMessageUser.action";
				$.ajax({
			       url : actionUrl,
			       type : "post",
			       data : {
						"msgid" : ids
			       },
			       dataType : "json",
			       cache : false,
				   error : function(textStatus, errorThrown) {
				       alert("系统ajax交互错误: " + textStatus.value);
				   },
				   success : function(data, textStatus) {
				   }
				});
		}
</script>
<style>
html {
	overflow-x: hidden;
}

ul,
ul li{
margin:0;
padding:0;
list-style:none;}
.info{
	width:100%;
	float:left;
	font-size:12px;
	display:inline;
	overflow:hidden;
}
.infoList,
.infoList li{
	float:left;
	display:inline;
	width:99%;
}

.infoList li{
	height:26px;
	line-height:26px;
	*+line-height:23px;
	border-bottom:1px solid #f4f4f4;
}
.infoList li a,
.infoList li a:hover,
.infoList li .date{
	height:26px;
	line-height:26px;
	float:left;
	display:inline;
	color:#333333;
	text-decoration:none;}
.infoList li a:hover{
	text-decoration:none;
}
.infoList li .date{
	float:right;
	display:inline;
	margin-left:10px;}
.infoList li .name{
	float:right;
	width:100px;
	display:inline;
	margin-left:10px;
    overflow:hidden;          /*超出部分隐藏*/
    white-space:nowrap;  /*文本溢出用"..."表示*/
}

.infoList li .name1{
	float:right;
	display:inline;
	width:150px;
	margin-left:10px;
}

.infoList .infoIcon{
	width:26px;
	height:26px;
	float:left;
	display:inline;
	background:url(images/infoListIcon.gif) no-repeat;
	}
</style>
</head>
<body>
${requestScope.message }
</body>
</html>
